package com.sharecode.stock.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.sharecode.stock.vo.stock.StockStrategy;

public interface StockStrategyRepository extends JpaRepository<StockStrategy, Long> ,JpaSpecificationExecutor<StockStrategy>{

	Page<StockStrategy> findByCycle(int cycle, Pageable pageable);

}
